x86/apic: Drop workarounds for Pentium/82489DX erratum
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 1 Jun 2017 14:27:38 +0000 (15:27 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 7 Jun 2017 11:00:41 +0000 (12:00 +0100)
commit413e92e9bf13c11ece48f379e940e45ca0fb336d
tree3103aa95000c26228bbe3b1a64720eadd9603b61
parent20f1976b44199d1e7a15fe5d2c8c1a4375b74997
x86/apic: Drop workarounds for Pentium/82489DX erratum

CONFIG_X86_GOOD_APIC is unconditionally selected for 64bit builds.  Drop the
related infrastructure including apic_{read,write}_around(), the former of
which had no effect, and the latter which was an alias of apic_write().

No functional change, as confirmed by diffing the before/after disassembly.
(Three __LINE__ numbers are different, but they are `mov $imm, %reg` as part
of a dprintk() call.)

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <JBeulich@suse.com>
xen/arch/x86/apic.c
xen/arch/x86/cpu/mcheck/mce_intel.c
xen/arch/x86/cpu/vpmu.c
xen/arch/x86/genapic/delivery.c
xen/arch/x86/io_apic.c
xen/arch/x86/smp.c
xen/arch/x86/smpboot.c
xen/include/asm-x86/apic.h
xen/include/asm-x86/config.h